package com.jz.netthings.application.providerCreate.bean;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-03-13
 */

public class ProviderXp implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 浆员
     */
    @TableField("providerNo")
    private String providerNo;
    /**
     * 检查单位
     */
    private String hospital;
    /**
     * 检查医生
     */
    private String doctor;
    /**
     * 胸片照片
     */
    private String photo;
    /**
     * 有效日期
     */
    @TableField("validDate")
    private Date validDate;
    /**
     * 上传人
     */
    private String crearor;
    @TableField(exist =false)
    private String crearorName;
    /**
     * 胸片检查上传日期
     */
    @TableField("createDate")
    private Date createDate;
    /**
     * 胸片结果
     */
    private String result;
    /**
     * 备注
     */
    private String remark;

    @TableField("MODIFY_TIME")
    private String MODIFY_TIME;
    @TableField("SYNDATE")
    private String SYNDATE;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProviderNo() {
        return providerNo;
    }

    public void setProviderNo(String providerNo) {
        this.providerNo = providerNo;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getDoctor() {
        return doctor;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getValidDate() {
        return validDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setValidDate(Date validDate) {
        this.validDate = validDate;
    }

    public String getCrearor() {
        return crearor;
    }

    public void setCrearor(String crearor) {
        this.crearor = crearor;
    }

    public String getCrearorName() {
        return crearorName;
    }

    public void setCrearorName(String crearorName) {
        this.crearorName = crearorName;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateDate() {
        return createDate;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMODIFY_TIME() {
        return MODIFY_TIME;
    }

    public void setMODIFY_TIME(String MODIFY_TIME) {
        this.MODIFY_TIME = MODIFY_TIME;
    }

    public String getSYNDATE() {
        return SYNDATE;
    }

    public void setSYNDATE(String SYNDATE) {
        this.SYNDATE = SYNDATE;
    }
}
